package com.soft.mainsite;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * ServletInitializer
 *
 * @author Jin
 * @create 2017-06-16
 */
public class ServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(CmsApplication.class);
    }

    public static void main(String[] args) {

        for (int i = 0; i < 100; i++) {
            double floor = Math.floor(Math.random() * 8);
            System.out.println(floor);
        }

    }
}
